package cn.sun.product.mapper;

import cn.sun.basic.mapper.BaseMapper;
import cn.sun.product.domain.Product;
import cn.sun.product.query.ProductQuery;

import java.util.List;
import java.util.Map;

public interface ProductMapper extends BaseMapper<Product, ProductQuery> {
    void bulkdel(List<Long> ids);

    List<Product> findByIds(List<Long> ids);

    void onsaleupdates(Map<String, Object> map);

    void offsaleupdates(Map<String, Object> map);

    Product prefindOne(Long id);
}
